package com.four.basicinfo.service;

import com.four.basicinfo.entity.CriminalResponsibility;

public interface CriminalResponsibilityService {
    /**
     * 查询刑事责任
     *
     * @param id 刑事责任主键
     * @return 刑事责任
     */
    public CriminalResponsibility selectCriminalResponsibilityById(Long id);
    /**
     * 新增刑事责任
     *
     * @param criminalResponsibility 刑事责任
     * @return 结果
     */
    public int insertCriminalResponsibility(CriminalResponsibility criminalResponsibility);

    /**
     * 修改刑事责任
     *
     * @param criminalResponsibility 刑事责任
     * @return 结果
     */
    public int updateCriminalResponsibility(CriminalResponsibility criminalResponsibility);
    /**
     * 删除刑事责任信息
     *
     * @param id 刑事责任主键
     * @return 结果
     */
    public int deleteCriminalResponsibilityById(Long id);
}
